import { lazy } from 'react';
import { DashboardIcon } from 'tdesign-icons-react';
import { IRouter } from '../index';

const dashboard: IRouter[] = [
  {
    path: '/platform/dashboard',
    meta: {
      title: '首页',
      Icon: DashboardIcon,
    },
    Component: lazy(() => import('pages/Dashboard/index')),
    // children: [
    //   {
    //     path: 'base',
    //     Component: lazy(() => import('pages/Dashboard/Base')),
    //     meta: {
    //       title: '概览仪表盘',
    //     },
    //   },
    //   {
    //     path: 'detail',
    //     Component: lazy(() => import('pages/Dashboard/Detail')),
    //     meta: {
    //       title: '统计报表',
    //     },
    //   },
    // ],
  },
];

export default dashboard;
